package com.fc.mall.decoration.link.object;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Getter
@Setter
public class LinkCreate {
    @NotBlank
    @Size(min = 1, max = 60)
    private String name;

    @NotBlank
    @Size(min = 1, max = 128)
    private String expression;

    @NotNull
    private LinkStatus status = LinkStatus.ACTIVE;
}
